home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Floppyshop 2
/
Floppyshop - 2.zip
/
Floppyshop - 2.iso
/
diskmags
/
5791-.end
/
dmg-5873
/
3rdguide
/
gem_vdi.txt
< prev
next >
Wrap
Text File
|
1998-10-24
|
29KB
|
589 lines
PRT_LINE /⑧x1k1םגגגגגגגגגגגגגג™
ø VDI-FUNCTION ø# CONTRL PTSIN PTSOUT INTIN INTOUT
ijגגגגגגגגגגגגגגך- ------ ------ ------ ------ ------
!✓GRPH_OPEN!⇩
0 100 charW|Hmin 1 Xmax
1 0 charW|Hmax 1 Ymax
2 (6) lineWmin 1 -
3 11 lineWmax 1 -
4 (45) poinW|Hmin 1 -
5 poinW|Hmax 1 -
6 (hand) 1 -
7 1 -
8 1 -
9 1 -
10 2 -
11 -
12 -
13 colrcount
... -
35 colrmode
... -
39 colrpalette
... -
45 -
-------------- - ------ ------ ------ ------ ------
!✓GRPH_CLOSE!⇩ 0 101
1 0
2 (0)
3 0
4 (0)
-------------- - ------ ------ ------ ------ ------
!✓GRPH_SetCLIP!⇩ 0 129 clip0X|clip0Y clipflag
1 2 clip1X|clip1Y
2 (0)
3 1
4 (0)
-------------- - ------ ------ ------ ------ ------
!✓GRPH_SetMODE!⇩ 0 32 grphmode grphmode
1 0
2 (0)
3 1
4 (1)
grphmode
d = c . s 1
d = c . s + d . s∙ 2
d = d ± s 3
d = d . s + c . s∙ 4
s : source d : destination c : color
+ : OR ± : EOR . : AND ∙ : NOT
-------------- - ------ ------ ------ ------ ------
!✓COLR_GetATTRIB!⇩ 0 26 poincolr poincolr
1 0 curtflag red
2 (0) green
3 2 blue
4 (4)
red/green/blue
(0-1000)
-------------- - ------ ------ ------ ------ ------
!✓GRPH_SetCOLOR!⇩ 0 14 colrnumb
1 0 red
2 (0) green
3 4 blue
4 (0)
-------------- - ------ ------ ------ ------ ------
!✓POIN_GetATTRIB!⇩ 0 36 poinW|poinH pointype
1 0 poincolr
2 (1) grphmode
3 0
4 (3)
-------------- - ------ ------ ------ ------ ------
!✓POIN_SetTYPE!⇩ 0 18 pointype pointype
1 0
2 (0)
3 1
4 (1)
pointype
1:point
2:plus
3:star
4:square
5:cross
6:diamond
-------------- - ------ ------ ------ ------ ------
!✓POIN_SetHEIGHT!⇩ 0 19 0|poinH poinW|poinH
1 1
2 (1)
3 0
4 (0)
poinH
8 Heights
-------------- - ------ ------ ------ ------ ------
!✓POIN_SetCOLOR!⇩ 0 20 poincolr poincolr
1 0
2 (0)
3 1
4 (1)
םגגגגגגגגגגגגגג™
ø VDI-FUNCTION ø# CONTRL PTSIN PTSOUT INTIN INTOUT
ijגגגגגגגגגגגגגגך- ------ ------ ------ ------ ------
!✓POIN_GET!⇩ 0 105 poinX|poinY colrregister
1 1 poincolr
2 (0)
3 0
4 (2)
poincolr colrregister
res0
0/1/2/3/4/5/6/7/8/9/10/11/12/13/14/15 0/15/1/2/4/6/3/5/7/8/9/10/12/14/11/13
res1
0/1/2/3 0/3/1/2
res2
0/1 0/1
-------------- - ------ ------ ------ ------ ------
!✓GRPH_POINTS!⇩ 0 7 poin0X|poin0Y
1 ~ poin1X|poin1Y
2 (0) poin2X|poin2Y
3 0 poin3X|poin3Y
4 (0) ...|...
-------------- - ------ ------ ------ ------ ------
!✓LINE_GetATTRIB!⇩ 0 35 lineW|0 linetype
1 0 linecolr
2 (1) grphmode
3 0 linebegn
4 (5) lineend
-------------- - ------ ------ ------ ------ ------
!✓LINE_SetTYPE!⇩ 0 15 linetype linetype
1 0
2 (0)
3 1
4 (1)
linetype
1-6:see GRAPHISMS
7:userdefined
-------------- - ------ ------ ------ ------ ------
!✓LINE_StUSDFTYPE!⇩ 0 113 lineusrdef
1 0
2 (0)
3 1
4 (0)
-------------- - ------ ------ ------ ------ ------
!✓LINE_SetENDS!⇩ 0 108 linebegn
1 0 lineend
2 (0)
3 2
4 (0)
linebegn/end
0:normal
1:arrowed
2:rounded
-------------- - ------ ------ ------ ------ ------
!✓LINE_SetWIDTH!⇩ 0 16 lineW|0 lineW|0
1 1
2 (1)
3 0
4 (0)
-------------- - ------ ------ ------ ------ ------
!✓LINE_SetCOLOR!⇩ 0 17 linecolr linecolr
1 0
2 (0)
3 1
4 (1)
-------------- - ------ ------ ------ ------ ------
!✓GRPH_LINES!⇩ 0 6 poin0X|poin0Y
1 ~ poin1X|poin1Y
2 (0) poin2X|poin2Y
3 0 poin3X|poin3Y
4 (0) ...|...
-------------- - ------ ------ ------ ------ ------
!✓GRPH_RECTANGLE!⇩ 0 11 poin0X|poin0Y
1 2 poin1X|poin1Y
2 (0)
3 0
4 (0)
5 1
-------------- - ------ ------ ------ ------ ------
!✓GRPH_RnddRECT!⇩ 0 11 poin0X|poin0Y
1 2 poin1X|poin1Y
2 (0)
3 0
4 (0)
5 8
-------------- - ------ ------ ------ ------ ------
!✓GRPH_CIRCLE!⇩ 0 11 poinX|poinY
1 3 0|0
2 (0) radi|0
3 0
4 (0)
5 4
םגגגגגגגגגגגגגג™
ø VDI-FUNCTION ø# CONTRL PTSIN PTSOUT INTIN INTOUT
ijגגגגגגגגגגגגגגך- ------ ------ ------ ------ ------
!✓GRPH_ARC!⇩ 0 11 poinX|poinY anglebegn
1 4 0|0 angleend
2 (0) 0|0
3 2 radi|0
4 (0)
5 2
angle(in 1/10°)
-------------- - ------ ------ ------ ------ ------
!✓GRPH_ELLIPSE!⇩ 0 11 poinX|poinY
1 2 radiX|radiY
2 (0)
3 0
4 (0)
5 5
-------------- - ------ ------ ------ ------ ------
!✓GRPH_ELLipARC!⇩ 0 11 poinX|poinY anglebegn
1 2 radiX|radiY angleend
2 (0)
3 2
4 (0)
5 6
angle(in 1/10°)
-------------- - ------ ------ ------ ------ ------
!✓FILL_GetATTRIB!⇩ 0 37 filltype
1 0 fillcolr
2 (0) fillsubtype
3 0 grphmode
4 (5) fillperi
-------------- - ------ ------ ------ ------ ------
!✓FILL_SetTYPE!⇩ 0 23 filltype filltype
1 0
2 (0)
3 1
4 (1)
filltype
0:hollow
1:solid
2:pattern
3:hatch
4:userdefined
-------------- - ------ ------ ------ ------ ------
!✓FILL_SetSUBTYPE!⇩ 0 24 fillsubtype fillsubtype
1 0
2 (0)
3 1
4 (1)
fillsubtype
1-24:pattern
1-12:hatch
-------------- - ------ ------ ------ ------ ------
!✓FILL_StUSDFTYPE!⇩ 0 112 line0
1 0 line1
2 (0) line2
3 ~ line3
4 (0) line4
...
line15
...
16lines/plane
-------------- - ------ ------ ------ ------ ------
!✓FILL_SetPERIMtr!⇩ 0 104 fillperiflag fillperiflag
1 0
2 (0)
3 1
4 (1)
-------------- - ------ ------ ------ ------ ------
!✓FILL_SetCOLOR!⇩ 0 25 fillcolr fillcolr
1 0
2 (0)
3 1
4 (1)
םגגגגגגגגגגגגגג™
ø VDI-FUNCTION ø# CONTRL PTSIN PTSOUT INTIN INTOUT
ijגגגגגגגגגגגגגגך- ------ ------ ------ ------ ------
!✓GRPH_ContrFILL!⇩ 0 103 poinX|poinY colrlimt
1 1
2 (0)
3 1
4 (0)
colrlimt
(-1: all other color limit)
-------------- - ------ ------ ------ ------ ------
!✓GRPH_LineFILL!⇩ 0 9 poin0X|poin0Y
1 ~ poin1X|poin1Y
2 (0) poin2X|poin2Y
3 0 poin3X|poin3Y
4 (0) ...|...
-------------- - ------ ------ ------ ------ ------
!✓GRPH_FilldRECT!⇩ 0 114 poin0X|poin0Y
1 2 poin1X|poin1Y
2 (0)
3 0
4 (0)
-------------- - ------ ------ ------ ------ ------
!✓GRPH_FldRndRECT!⇩ 0 11 poin0X|poin0Y
1 2 poin1X|poin1Y
2 (0)
3 0
4 (0)
5 9
-------------- - ------ ------ ------ ------ ------
!✓GRPH_SECTOR!⇩ 0 11 poinX|poinY anglebegn
1 4 0|0 angleend
2 (0) 0|0
3 2 radi|0
4 (0)
5 3
angle(in 1/10°)
-------------- - ------ ------ ------ ------ ------
!✓GRPH_EllpSECTOR!⇩ 0 11 poinX|poinY anglebegn
1 2 radiX|radiY angleend
2 (0)
3 2
4 (0)
5 7
angle(in 1/10°)
-------------- - ------ ------ ------ ------ ------
!✓GRPH_BLocKPIXEL!⇩ 0 109 poin0X|poin0Y srce logop
1 4 poin1X|poin1Y srce
2 (0) poin0X|poin0Y dest
3 1 poin1X|poin1Y dest
4 (0)
5
6
7- 8 MFDBsrceaddr
9-10 MFDBdestaddr
Memory Form Definition Block
(L) Address of the logical screen (0:standard screen)
(W) Width of the logical screen (640 or 320)
(W) Height of the logical screen (400 or 200)
(W) Width of the logical screen in Words/line*plane (40 or 20)
(W) standardflag
(W) planenumber (1,2 or 4)
(3W) 0
logop
see BLITTER bit assignments
-------------- - ------ ------ ------ ------ ------
!✓GRPH_BLocKBIT!⇩ 0 121 poin0X|poin0Y srce grphmode
1 4 poin1X|poin1Y srce bgndcolr
2 (0) poin0X|poin0Y dest fgndcolr
3 3 poin1X|poin1Y dest
4 (0)
5
6
7- 8 MFDBsrceaddr
9-10 MFDBdestaddr
-------------- - ------ ------ ------ ------ ------
!✓GRPH_BLocKTRANS!⇩ 0 110
1 0
2 (0)
3 0
4 (0)
5
6
7- 8 MFDBsrceaddr
9-10 MFDBdestaddr
םגגגגגגגגגגגגגג™
ø VDI-FUNCTION ø# CONTRL PTSIN PTSOUT INTIN INTOUT
ijגגגגגגגגגגגגגגך- ------ ------ ------ ------ ------
!✓TEXT_SetFONTS!⇩ 0 119 0 fontcount
1 0
2 (0)
3 1
4 (1)
5
6
7- 8 graphicbufferaddr (for one character)
9 effectbufferrelativeaddr
10-11 fontlistaddr
-------------- - ------ ------ ------ ------ ------
!✓TEXT_ClearFONTS!⇩ 0 120 0 fontcount
1 0
2 (0)
3 1
4 (1)
-------------- - ------ ------ ------ ------ ------
!✓TEXT_GetFONT!⇩ 0 130 fontrank font
1 0 char0
2 (0) char1
3 1 char2
4 (33) ...
.. ...
32 char31
-------------- - ------ ------ ------ ------ ------
!✓TEXT_SetFONT!⇩ 0 21 font font
1 0
2 (0)
3 1
4 (1)
-------------- - ------ ------ ------ ------ ------
!✓TEXT_GetINFO!⇩ 0 131 cellW |bottom charfirst
1 0 cellW+|descent charlast
2 (5) loffset|half
3 0 roffset|ascent
4 (2) 0|top
-------------- - ------ ------ ------ ------ ------
!✓TEXT_GetCHAR!⇩ 0 117 cellW|0 char char(or -1)
1 0 lspace|0
2 (3) rspace|0
3 1
4 (1)
-------------- - ------ ------ ------ ------ ------
!✓TEXT_SHEIGHTPIX!⇩ 0 12 0|charH charW|charH
1 1 cellW|cellH
2 (2)
3 0
4 (0)
-------------- - ------ ------ ------ ------ ------
!✓TEXT_SHEIGHTPNT!⇩ 0 107 charW|charH fontsize
1 0 cellW|cellH
2 (2)
3 1
4 (0)
charH
4 Heights
-------------- - ------ ------ ------ ------ ------
!✓TEXT_GetATTRIB!⇩ 0 38 charW|charH font
1 0 cellW|cellH textcolr
2 (2) textbase
3 0 texthoralign
4 (6) textveralign
5 grphmode
-------------- - ------ ------ ------ ------ ------
!✓TEXT_SetBASE!⇩ 0 13 textbase textbase
1 0
2 (0)
3 1
4 (1)
textbase(in 1/10°)
-------------- - ------ ------ ------ ------ ------
!✓TEXT_SetALIGN!⇩ 0 39 texthoralign texthoralign
1 0 textveralign textveralign
2 (0)
3 2
4 (2)
texthoralign textveralign
0:left 0:baseline
1:center 1:halfline
2:right 2:ascentline
3:bottomline
4:descentline
5:topline
םגגגגגגגגגגגגגג™
ø VDI-FUNCTION ø# CONTRL PTSIN PTSOUT INTIN INTOUT
ijגגגגגגגגגגגגגגך- ------ ------ ------ ------ ------
!✓TEXT_SetTYPE!⇩ 0 106 texttype texttype
1 0
2 (0)
3 1
4 (1)
texttype
b0=thickened
b1=lightened
b2=skewed
b3=underlined
b4=outlined
-------------- - ------ ------ ------ ------ ------
!✓TEXT_SetCOLOR!⇩ 0 22 textcolr textcolr
1 0
2 (0)
3 1
4 (1)
-------------- - ------ ------ ------ ------ ------
!✓TEXT_GetEXTENT!⇩ 0 116 poin0X|poin0Y char0
1 0 poin1X|poin1Y char1
2 (4) poin2X|poin2Y char2
3 ~ poin3X|poin3Y char3
4 (0) ...
-------------- - ------ ------ ------ ------ ------
!✓GRPH_JustdTEXT!⇩ 0 11 poinX|poinY wordspceflag
1 2 textW|0 charspceflag
2 (0) char0
3 ~ char1
4 (0) char2
5 10 ...
-------------- - ------ ------ ------ ------ ------
!✓GRPH_TEXT!⇩ 0 8 poinX|poinY char0
1 1 char1
2 (0) char2
3 ~ char3
4 (0) ...
-------------- - ------ ------ ------ ------ ------
!✓SCRN_StLnOFFSET!⇩ 0 5 grphlinecoun
1 0
2 (0)
3 1
4 (0)
5 101
-------------- - ------ ------ ------ ------ ------
!✓SCRN_SetFONT!⇩ 0 5 fontH
1 0 fontL
2 (0)
3 2
4 (0)
5 102
-------------- - ------ ------ ------ ------ ------
!✓SCRN_GetCELLS!⇩ 0 5 linecoun
1 0 colncoun
2 (0)
3 0
4 (2)
5 1
-------------- - ------ ------ ------ ------ ------
!✓SCRN_GtPOSITION!⇩ 0 5 linenumb
1 0 colnnumb
2 (0)
3 0
4 (2)
5 15
-------------- - ------ ------ ------ ------ ------
!✓SCRN_TEXT!⇩ 0 5 char0
1 0 char1
2 (0) char2
3 ~ char3
4 (0) char4
5 12 ...
םגגגגגגגגגגגגגג™
ø VDI-FUNCTION ø# CONTRL PTSIN PTSOUT INTIN INTOUT
ijגגגגגגגגגגגגגגך- ------ ------ ------ ------ ------
!✓MOUS_GET!⇩ 0 124 mousX|mousY buttstat
1 0
2 (1)
3 0
4 (1)
-------------- - ------ ------ ------ ------ ------
!✓MOUS_SHOW!⇩ 0 122 counflag
1 0
2 (0)
3 1
4 (0)
-------------- - ------ ------ ------ ------ ------
!✓MOUS_HIDE!⇩ 0 123 counflag
1 0
2 (0)
3 1
4 (0)
-------------- - ------ ------ ------ ------ ------
!✓MOUS_SetFORM!⇩ 0 111 ctrlX
1 0 ctrlY
2 (0) 1
3 37 maskcolr
4 (0) shapcolr
5 maskline0
6 maskline1
.. ...
20 maskline15
21 shapline0
22 shapline1
.. ...
36 shapline15
-------------- - ------ ------ ------ ------ ------
!✓MOUS_StVectBUTT!⇩ 0 125
1 0
2 (0)
3 0
4 (0)
5
6
7- 8 newvect
9-10 (oldvect)
D0=buttstat
-------------- - ------ ------ ------ ------ ------
!✓MOUS_StVectMOVT!⇩ 0 126
1 0
2 (0)
3 0
4 (0)
5
6
7- 8 newvect
9-10 (oldvect)
D0=mousX D1=mousY
-------------- - ------ ------ ------ ------ ------
!✓MOUS_StVectCHGT!⇩ 0 127
1 0
2 (0)
3 0
4 (0)
5
6
7- 8 newvect
9-10 (oldvect)
D0=mousX D1=mousY
-------------- - ------ ------ ------ ------ ------
!✓TIME_SetVector!⇩ 0 118 20ms
1 0
2 (0)
3 0
4 (1)
5
6
7- 8 newvect
9-10 (oldvect)